package com.example.util;

import com.example.model.WxbGood;
import com.example.model.util.PageUtils;
import com.example.model.vo.GoodVo;
import com.example.model.vo.Result;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Set;

public interface WxbGoodsService {
    public void addGoodS(WxbGood good);
    public PageUtils list(int pageNum);
    public PageUtils listByType(String typeId, int pageNum);
    public void updateState(int state, List<String> ids)throws Exception;
    public boolean saveGood(WxbGood wxbGood);
    public List<WxbGood> findGoodByParam(WxbGood param);
    public Result updateStateByGoodId(String goodId, String state);
    public void deleteByGoodId(List<String>goodId)throws Exception;
    public List<WxbGood> wxbGoodList();
    List<WxbGood> findAll();
    WxbGood findById(String goodId);
    WxbGood findByAndId(String goodId);

}
